package com.gene.utils;

import org.springframework.context.ApplicationContext;

/**
 * Created by lenovo on 2018/1/10.
 */
public class Const
{
    public static final String SESSION_SECURITY_CODE = "sessionSecCode";

    public static final String SESSION_USER = "sessionUser";

    public static final String SESSION_ROLE_RIGHTS = "sessionRoleRights";

    public static final String SESSION_QX = "QX";

    public static final String SESSION_userpds = "userpds";

    public static final String SESSION_USERROL = "USERROL"; //用户对象角色，多个以逗号分隔

    public static final String SESSION_USERNAME = "USERNAME"; //用户名

    public static final String TRUE = "T";

    public static final String FALSE = "F";

    public static final String LOGIN = "/login_toLogin.do"; //登录地址

    public static final String SYSNAME = "admin/config/SYSNAME.txt"; //系统名称路径

    public static final String PAGE = "admin/config/PAGE.txt"; //分页条数配置路径

    public static final String EMAIL = "admin/config/EMAIL.txt"; //邮箱服务器配置路径

    public static final String SMS1 = "admin/config/SMS1.txt"; //短信账户配置路径1

    public static final String SMS2 = "admin/config/SMS2.txt"; //短信账户配置路径2

    public static final String FWATERM = "admin/config/FWATERM.txt"; //文字水印配置路径

    public static final String IWATERM = "admin/config/IWATERM.txt"; //图片水印配置路径

    public static final String WEIXIN = "admin/config/WEIXIN.txt"; //微信配置路径

    public static final String FILEPATHIMG = "uploadFiles/uploadImgs/"; //图片上传路径

    public static final String FILEPATHFILE = "uploadFiles/file/"; //文件上传路径

    public static final String TEMPLATEFILEPATH = "uploadFiles/template/"; //模板文件路径

    public static final String FILEPATHTWODIMENSIONCODE = "uploadFiles/twoDimensionCode/"; //二维码存放路径


    public static ApplicationContext WEB_APP_CONTEXT = null; //该值会在web容器启动时由WebAppContextListener初始化



}
